<div class="message-cadre" id="<?php echo $ktd_message->getId() ?>">
    <div class="ext-message">
        <div class="lf">
            <div class="avatar-bubble">
                <div class="avatar" style="background-image: url(<?php echo $ktd_message->getKTDPlayer()->getAvatar() ?>);"></div>
                <div class="name daniel-font">
                    <?php echo link_to($ktd_message->getKTDPlayer()->getPseudo(), 'show_player', $ktd_message->getKTDPlayer()); ?>
                </div>
                <br/>
                <?php echo $ktd_player->getMsgCount() ?> message(s)<br/><br/>
                <?php echo $ktd_player->getMoney() ?> <?php echo sfConfig::get("app_money_name") ?>
            </div>
        </div>
        <div class="rg">
            <div class="inter-message">
                <?php include_partial("message_buttons", array("ktd_message"=>$ktd_message)) ?><br/>
                <?php echo $ktd_message->getParsedBody(ESC_RAW) ?>
            </div>
            <?php if($ktd_player->getSignature() != NULL): ?>
            <br/>
            <div class="inter-message" style="min-height: 25px;">
                <?php echo $ktd_player->getParsedSignature(ESC_RAW) ?>
            </div>
            <?php endif; ?>
            <div class="message-info">Posté le <?php echo $ktd_message->getCreatedAt() ?></div>
        </div>
    </div>
</div>
